package com.fishbone.core.cloud.feign;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import lombok.extern.slf4j.Slf4j;

/**
 *
 * feign 传递Request header
 *
 * @ClassName FishBoneRequestHeaderInterceptor
 * @Author huyaxi
 * @DATE 2020/5/25 15:04
 */
@Slf4j
public class FishBoneRequestHeaderInterceptor implements RequestInterceptor {

    @Override
    public void apply(RequestTemplate template) {
        log.info("************* 执行Feign请求头传递 **************");
    }
}
